<script>
	export default {
		onLaunch: function() {
			// console.log('App Launch')
		},
		onShow: function() {
			var bodyHeight = document.body.clientHeight;
			document.body.style.setProperty('--bodyHeight', `${bodyHeight}px`);
		},
		onHide: function() {
			// console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	.wrapper {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		width: 100vw;
		height: calc(var(--bodyHeight) - 44px);
	}
</style>
